﻿using System;

namespace Koonsoft.HYCRM.Model
{
    /// <summary>
    /// 已注册公司信息
    /// </summary>
    public class Company
    {
        /// <summary>
        /// 内部识别标识
        /// </summary>
        public string SerialNumber { get; set; }

        /// <summary>
        /// 公司编号
        /// </summary>
        public string CompanyID { get; set; }

        /// <summary>
        /// 公司英文名
        /// </summary>
        public string EnglishName { get; set; }

        /// <summary>
        /// 公司中文名
        /// </summary>
        public string ChineseName { get; set; }

        /// <summary>
        /// 董事长
        /// </summary>
        public string Chairman { get; set; }

        /// <summary>
        /// 注册地编号
        /// </summary>
        public string RegionID { get; set; }

        /// <summary>
        /// 注册股本
        /// </summary>
        public int Stock { get; set; }

        /// <summary>
        /// 注册日期
        /// </summary>
        public DateTime RegisterDate { get; set; }

        /// <summary>
        /// 公司状态
        /// </summary>
        //public CompanyStatus Status { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 创建者
        /// </summary>
        public string CreateOperator { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime LastModifyTime { get; set; }

        /// <summary>
        /// 更新人员
        /// </summary>
        public string LastModifyOperator { get; set; }

        /// <summary>
        /// 是否有利得税
        /// </summary>
        public bool HasProfitTax { get; set; }
    }


    public class CompanyDiectorsEntity
    {
        public string DirectorName { get; set; }


        public string EnglishName { get; set; }

        public double Proportion { get; set; }

        public int ISDirector { get; set; }
 
    }

    public class CompanyAuditorsEntity
    {
        public string CompanyId { get; set; }
        public string OrderId { get; set; }

        /// <summary>
        /// 商业登记证
        /// </summary>
        public string BR { get; set; }
        public int Id { get; set; }
        public DateTime StartTime { get; set; }
        public DateTime EndTime { get; set; }

        /// <summary>
        /// 经营范围
        /// </summary>
        public string BusinessScope { get; set; }

        /// <summary>
        /// 经营地址
        /// </summary>
        public string BusinessAddress { get; set; }

        /// <summary>
        /// 期望营业额
        /// </summary>
        public int TotalTurnover { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public int Status { get; set; }
    }


    public enum AuditorsStatus
    {
        /// <summary>
        /// 新增
        /// </summary>
        [Remark("新增")]
        Create,

        /// <summary>
        /// 已指派
        /// </summary>
        [Remark("已指派")]
        Assigned,


        [Remark("用户签字")]
        Signature,

        /// <summary>
        /// 报税务局
        /// </summary>
        [Remark("报税务局")]
        QuoteRevenue,

        /// <summary>
        /// 完成
        /// </summary>
        [Remark("完成")]
        Finish,
    }
}
